package com.example.certificate.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改事务状态")
public class DisableStatDto {

    @ApiModelProperty(value = "id")
    @NotBlank(message = "id不能为空",groups = {disableStatus.class})
    private String id;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "状态值不能为空", groups = {disableStatus.class})
    private Integer status;

    public interface disableStatus{}
}
